/**
 * 
 */
package de.bloxel.core.water;

import com.jme3.math.Vector3f;

import de.bloxel.core.events.Event;

/**
 * @author Nice2000
 * @since 0.1.0
 */
public class WaterEvent extends Event {

  private final Vector3f waterBloxelPosition;
  private final float waterQuantity;

  /**
   * @param theType
   * @param theWaterBloxelPositionCenter
   * @param theWaterQuantity
   */
  public WaterEvent(final String theType, final Vector3f theWaterBloxelPositionCenter, final float theWaterQuantity) {
    super(theType);
    waterBloxelPosition = theWaterBloxelPositionCenter;
    waterQuantity = theWaterQuantity;
  }

  public float getWaterQuantity() {
    return waterQuantity;
  }

  public Vector3f getWaterSourcePositionCenter() {
    return waterBloxelPosition;
  }
}
